
# -*- encoding=utf-8 -*-

from froModuleDrivers.libraryDriver import LibraryDriver
from froModuleDrivers.nioManager import NioManager
import time

driver = LibraryDriver("192.168.3.202", 4001)
manager = NioManager(driver)
manager.run()


driver.setISBN(8,3452353265) # 设置ISBN码
time.sleep(2)

print(driver.getISBN(8)) # 获取ISBN码
time.sleep(5)

manager.shutdownGracefully()
